<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/public/head.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改链接</title>
<script type="text/javascript">
  function save(){
	
	  jquerySubByFId('linkform',save_callback,null,"json");
	  
  }
  //ajax调用的回调函数，ajax请求完成调用此函数，传入的参数是action返回的结果
  function save_callback(data){
	   parent.message_alert(data);
	   parent.$('#list').datagrid('load');
	   parent.closemodalwindow();
  }
 
</script>
</head>
<body>


<form id="linkform" action="${system}/links/aaaaaa" method="post">
<!-- 更新用户的id -->
<input type="hidden" name="bookid" value="${link.bookid}"/>
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%" bgColor=#c4d8ed>

   <TBODY>
   <TR>
				<TD background=images/r_0.gif width="100%">
					<TABLE cellSpacing=0 cellPadding=0 width="100%">
						<TBODY>
							<TR>
								<TD>&nbsp;链接信息</TD>
								<TD align=right>&nbsp;</TD>
							</TR>
						</TBODY>
					</TABLE>
				</TD>
			</TR>
			
			<TR>
				<TD>
					<TABLE class="toptable grid" border=1 cellSpacing=1 cellPadding=4 align=center>
						<TBODY>
							
							<TR>
								<TD height=30 width="15%" align=right >名称：</TD>
								<TD class=category width="35%">
								<div>
								<input type="text" id="bookname" name="bookname" value="${link.bookname}" />
								</div>
								<!-- sysuser_useridTip用于显示提示信息，提示div的id等于校验input的id+Tip -->
							<%--	<div id="linkNamedTip"></div>
								</TD>
								<TD height=30 width="15%" align=right >创建时间：</TD>
								<TD class=category width="35%">
								<div>
								<input type="date" id="linkHref" name="createtime" value="${link.createtime}" />
								</div>
								<div id="linkHrefTip"></div>
								</TD>--%>
							</TR>
							<TR>
								<TD height=30 width="15%" align=right >编号类型：</TD>
								<TD class=category width="35%">
								<div>
								<input type="text" id="link_order" name="booktypeid" value="${link.booktypeid}" />
								</div>
								<!-- sysuser_useridTip用于显示提示信息，提示div的id等于校验input的id+Tip -->
								<div id="link_orderTip"></div>
								</TD>
							</TR>
							<tr>
							  <td colspan=4 align=center class=category>
								<a id="submitbtn"  class="easyui-linkbutton"   iconCls="icon-ok" href="#" onclick="save()">提交</a>
								<a id="closebtn"  class="easyui-linkbutton" iconCls="icon-cancel" href="#" onclick="parent.closemodalwindow()">关闭</a>
							  </td>
							</tr>
						
							</TBODY>
						</TABLE>
					</TD>
				</TR>
   </TBODY>
</TABLE>
</form>
</body>
</html>